package model

import (
	"gorm.io/gorm"
	"time"
)

type Base struct {
	Id        uint `gorm:"primarykey" json:"id"`
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt gorm.DeletedAt `gorm:"index"`
}

type Page struct {
	Data  interface{} `json:"data"`
	Total int64       `json:"total"`
}
